import java.awt.Point;

/**
 * Class Edge 
 */

public class Edge {
	
	/**
	 * Class Edge members
	 */
	private Point p1;
	private Point p2;
	private Integer idx1;
	private Integer idx2;
	
	//ctor
	public Edge(Point point1, Point point2,Integer i1, Integer i2){
		p1 = point1;
		p2 = point2;
		idx1 = i1;
		idx2 = i2;
	}
	
	//setters and getters for class members
	public Point getP1() {
		return p1;
	}
	public void setP1(Point p1) {
		this.p1 = p1;
	}
	public Point getP2() {
		return p2;
	}
	public void setP2(Point p2) {
		this.p2 = p2;
	}
	public Integer getIdx1() {
		return idx1;
	}
	public void setIdx1(Integer idx1) {
		this.idx1 = idx1;
	}
	public Integer getIdx2() {
		return idx2;
	}
	public void setIdx2(Integer idx2) {
		this.idx2 = idx2;
	}

}
